<div class="modal-content">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h4 class="modal-title" id="myModalLabel"><block name="title">数据</block></h4>
    </div>
        <div class="modal-body">
            <block name="body"></block>
        </div>
        <div class="modal-footer">
            <button class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
            <button class="btn btn-primary btn-add" >保存</button>
        </div>
    </div>
</div>
<script type="text/javascript">
$(function(){
    $('#remote_addform').find('.btn-add').on('click',function(){
        $('#remote_addform').find('form').submit();

    })
})    
</script>